package com.sojson.util.security.springsecurity.service.impl;

import com.sojson.config.condition.MyConfigurationCondition;
import com.sojson.constant.ConstantByMap;
import com.sojson.enums.core.EEnvironmentType;

/**
 * 正式环境权限验证
 *
 * @author liu
 * @date 2021-04-28
 */
public class SecurityOnlineConditio extends MyConfigurationCondition {

    @Override
    public boolean matches() {
        return ConstantByMap.ENVIRONMENT == EEnvironmentType.ONLINE.getCode();
    }

}